/**
 *
 */
package org.jim.common.packets;

/**
 * 版本: [1.0]
 * 功能说明: 
 * 作者: WChao 创建时间: 2017年9月12日 下午3:13:22
 */
public class LoginReqBody extends Message {

    private static final long serialVersionUID = -10113316720288444L;

    private String userid;

    private String groupid;

//	private String token;

    public LoginReqBody() {
    }

    //	public LoginReqBody(String token){
//		this.token = token;
//		this.cmd = Command.COMMAND_LOGIN_REQ.getNumber();
//	}
    public LoginReqBody(String userid, String groupid) {
        this.userid = userid;
        this.groupid = groupid;
        this.cmd = Command.COMMAND_LOGIN_REQ.getNumber();
    }

    public LoginReqBody(String userid, String groupid, String token) {
        this(userid, groupid);
//		this.token = token;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }
//	public String getToken() {
//		return token;
//	}
//	public void setToken(String token) {
//		this.token = token;
//	}
}
